package com.codi.bus.core.domain;

import com.alibaba.fastjson.annotation.JSONField;
import com.codi.base.domain.BaseDomain;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * 亲，写个类注释呗
 * @author asus
 * @date 2018-04-10 14:51
 */
@Accessors(chain = true)
@NoArgsConstructor
@Builder
@AllArgsConstructor
@Data
public class UserMsg extends BaseDomain {
    private Long id;

    private Long userId;

    //消息类型 0=系统消息  1=瑞富宝  2=基金  3=组合
    private Integer msgType;

    //消息头类型 0=买入  1=卖出  2=分红  3=定投  4=组合调仓 5=赎回转购 6=其他
    private Integer titleType;

    //消息标题
    private String msgTitle;

    //消息内容
    private String msgContent;

    //时间
    private String msgDateTime;

    //消息详情链接地址
    private String msgUrl;

    //链接类型
    private Integer msgUrlType;

    //消息状态 0=未读  1=已读
    private Integer msgState;

    @JSONField(serialize = false)
    private String dividendRecord;

    private String allotNo;

    //企业id
    private Long profileId;

    private static final long serialVersionUID = 1L;
}
